#ifndef HEARTS_H
#define HEARTS_H

#include <QObject>
#include "specialteam.h"

class hearts : public QObject, public Specialteam
{
    Q_OBJECT
public:
    hearts(qreal x,qreal y,QGraphicsScene*scene);
    void hearrecover(){

        setPixmap(QPixmap(":/gameresource/hearts_hud.png"));
    }
    void heartshurt(){
        setPixmap(QPixmap(":/gameresource/no_hearts_hud.png"));

    }
};

#endif // HEARTS_H
